package model;

class Obstacle extends Item
{
    /**
	 * 
	 */
    private static final long serialVersionUID = 3784498107699083145L;
    
    public Obstacle() {
        super( ItemType.BOULDER );
    }
    
    public ItemType getObstacleEnum()
    {
        return getType();
    }
    
    public void accept( Player p, ItemVisitor visitor, ModelInstance mi )
    {
        visitor.visitObstacle( this );
    }
    
    public boolean isObstacle()
    {
        return true;
    }
    
}
